/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Core;
import java.util.*;

/**
 *
 * @author localadmin
 */
public class Rule 
{

    public enum Period
     { 
       once,
       hourly,
       daily,
       weekly,
       monthly,
       yearly
     }; 
    
    public Calendar startTime=null;
    public Calendar endTime=null;
    public Appliance appliance=null;
    public Period period=Period.once;
}
